from commit_time import last_code_commit_time, get_diff_files
import requests
from lxml import html as H
def get_last_commit_time():
    url ="https://android.googlesource.com/platform/external/abi-dumper/+/9b76336c02d84eeea19a48108270e3bae4efd025"
    print url
    dom  = H.fromstring(requests.get(url).text)
    print get_diff_files(dom)
    print last_code_commit_time("abi-dumper")


if __name__=="__main__":
    get_last_commit_time()